Infixs\CorreiosAutomatico\Core\Shipping\CorreiosShippingMethod D

Total Complexity 147
Dependencies 13
Dependents 5
Total lines 1,127
Lines of code 738
Logical lines of code 299
Comment lines 210
Methods 25
Properties 30

Methods 25

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
D
22
51 168
resolve_basic_service()
B
46 21 35
map_options()
B
41 19 51
init_form_fields()
B
23
1 279
has_shipping_class()
A
54 8 21
get_additional_days()
S
56 6 18
can_be_calculated()
S
61 5 12
update_instance_settings_values()
S
61 5 11
are_dimensions_within_limits()
S
62 5 10
__construct()
S
44 2 44
sanitize_discount_rules()
S
62 3 11
get_instance_option_filter()
S
70 3 6
get_enabled_option()
S
73 3 4
get_shipping_classes_options()
S
66 2 8
get_product_code()
S
79 2 3
get_object_type_code()
S
72 2 6
admin_options()
S
61 1 13
get_admin_options_html()
S
80 1 3
get_package()
S
64 1 10
sanitizer_shipping_classes()
S
70 1 6
get_enabled_discount_rules()
S
70 1 6
get_description()
S
79 1 3
get_auto_prepost()
S
82 1 3
use_range()
S
82 1 3
get_product_common_id()
S
76 1 4